<!--
 * @Date: 2023-03-22 15:32:20
 * @LastEditTime: 2023-06-23 21:08:57

 * 介绍:
-->
<script lang="ts" setup>
import { useScrollTop } from "@@/hooks/toolsHooks";
useScrollTop();
</script>

<template>
  <div class="CpageView">
    <slot></slot>
    <div class="slot-bottom">
      <slot name="buttom"></slot>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.CpageView {
  position: relative;
  padding-bottom: var(--gap-xl);
}

.slot-bottom {
  position: fixed;
  bottom: var(--bottom-H);
  width: var(--page-W);
}
</style>
